<script></script>
<template>
    <home>
    <div class="ft-head w<div class="home-bc w>
      <img src="../upload/mian-02.webp" alt="">
    </div>
    <!-- 家电模块 -->
    <div class="home w clearfix">
      <div class="home-head">
        <h3>厨房家电</h3>
        <ul>
          <li><a href="#">净水器</a></li>
          <li><a href="#">烟灶</a></li>
          <li><a href="#">电饭煲</a></li>
          <li><a href="#">微蒸烤</a></li>
        </ul>
      </div>
      <div class="home-body">
        <ul>
          <li>
            <a href="#">
              <img src="../upload/jiadian01.webp" alt="">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/家电02.webp" alt="">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <div class="h-left">
              <a href="#">
                <article>
                  <h3>米家手持无线吸尘器1C</h3>
                  <br>
                  <span>849元</span>
                </article>
                <img src="../upload/icon01.webp" alt="">
              </a>
            </div>
            <div class="h-right">
              <a href="#">
                <article>
                  <h3>浏览更多</h3>
                  <br>
                  <span>清洁</span>
                </article>
                <img src="../images/进入箭头小.png" alt="">
              </a>
            </div>
          </li>
        </ul>
      </div>
    </div>
    <!-- 家电模头部蓝图2 -->
    <div class="home-bc w">
      <img src="../upload/mian-02.webp" alt="">
    </div>
    <!-- 家电模块 -->
    <div class="home w clearfix">
      <div class="home-head">
        <h3>厨房家电</h3>
        <ul>
          <li><a href="#">净水器</a></li>
          <li><a href="#">烟灶</a></li>
          <li><a href="#">电饭煲</a></li>
          <li><a href="#">微蒸烤</a></li>
        </ul>
      </div>
      <div class="home-body">
        <ul>
          <li>
            <a href="#">
              <img src="../upload/jiadian01.webp" alt="">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/家电02.webp" alt="">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <a href="#">
              <img src="../upload/phone02.webp" alt="">
              <h3>小米电视6 65" OLED 65英寸</h3>
              <p>OLED自发光屏 | 百万级对比度 | 4.6mm超薄全面屏</p>
              <span>1599元</span>
              <del>1999元</del>
            </a>
          </li>
          <li>
            <div class="h-left">
              <a href="#">
                <article>
                  <h3>米家手持无线吸尘器1C</h3>
                  <br>
                  <span>849元</span>
                </article>
                <img src="../upload/icon01.webp" alt="">
              </a>
            </div>
            <div class="h-right">
              <a href="#">
                <article>
                  <h3>浏览更多</h3>
                  <br>
                  <span>清洁</span>
                </article>
                <img src="../images/进入箭头小.png" alt="">
              </a>
            </div>
          </li>
        </ul>
      </div>
    </div>

    </home>
</template>
<style>
.home-head {
  height: 50px;
  margin-top: 40px;
  padding-bottom: 20px;
  /* background-color: pink; */
}
.home-head h3 {
  float: left;
  font-weight: 400;
  font-size: 22px;
  color: rgb(55, 55, 55);
}
.home-head ul {
  float: right;
}
.home-head ul li {
  float: left;
  padding: 0 10px;
}
.home-head ul li a {
  display: inline-block;
  color: #4f4f4f;
  padding-bottom: 2px;
}
.home-head ul li a:hover {
  color: #ff6700; 
  border-bottom: 2px solid #ff6700; 
}
.home-body ul li {
  float: left;
  width: 234px;
  height: 300px;
  background-color: #fff;
  margin-right: 14px;
  margin-bottom: 14px;
  transition: all .2s linear;
}
.home-body ul li:nth-child(5n) {
  margin-right: 0;
} 
.home-body ul li a {
  display: block;
  height: 100%;
  padding-top: 20px;
  text-align: center;
  color: #000;
}
.home-body ul li a img {
  width: 160px;
}
.home-body ul li:nth-child(1) img,
.home-body ul li:nth-child(6n) img{
  width: 100%;
}
.home-body ul li:nth-child(1) a,
.home-body ul li:nth-child(6n) a {
  padding-top: 0;
}
.home-body ul li a h3 {
  font-weight: 400;
  font-size: 14px;
  margin: 10px 0 5px 0;
  color: #333;
}
.home-body ul li a p{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  color: #b0b0b0;
  padding: 0 10px;
  margin: 10px 0;
}
.home-body ul li a span,
.home-body ul li a del {
  font-size: 12px;
  color: #b0b0b0;
}
.home-body ul li a span {
  color: #ff6700;
}
.home-body ul li:hover:nth-child(-n + 9)  {
  transform: translateY(-3px);
  box-shadow: 0 4px 13px 4px rgb(225, 225, 225);
}
.home-body ul li div {
  height: 142px;
  width: 234px;
  background-color: #fff;
  margin-bottom: 13px;
  padding: 25px 25px 20px 25px;
  transition: all .2s linear;
}
.home-body ul li div a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 0;
  text-align: left;
}
.home-body ul li div a h3 {
  display: inline-block;
  width: 94px;
  font-size: 14px;
}
.home-body ul li div a img {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
}
.home-body ul li:last-child {
  background-color: transparent;
}
.home-body ul li .h-left:hover,
.home-body ul li .h-right:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 13px 4px rgb(225, 225, 225);
}

.home-bc img {
  width: 100%;
  margin-top: 40px;
}
</style>